package com.ruoyi.durian.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.durian.domain.LlCar;
import com.ruoyi.durian.service.LlCarService;
import com.ruoyi.durian.mapper.LlCarMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author lenovo
* @description 针对表【ll_car】的数据库操作Service实现
* @createDate 2024-07-29 19:48:00
*/
@Service
public class LlCarServiceImpl extends ServiceImpl<LlCarMapper, LlCar>
    implements LlCarService{

    @Override
    public AjaxResult carSelectList() {
        LambdaQueryWrapper<LlCar> wq = new LambdaQueryWrapper<>();
        wq.eq(LlCar::getIsDelete,0);
        List<LlCar> list = list(wq);
        return AjaxResult.success(list);
    }
}




